* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
input {
  outline: none;
}
.common-btn {
  border: 1px solid #008DD2;
  color: #219BD8;
  background: #fff;
  border-radius: 2px;
  padding: 4px 9px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
  &:hover {
    background: rgba(81, 150, 230, 0.5);
    color: #fff;
    border-color: #fff;
  }
}
.wx-chat-his {
  position: relative;
  width: 375px;
  padding: 14px;
  background: #EDEDED;
  .chat-list {
    max-height: 667px;
    overflow: auto;
    .date-start {
      padding: 28px 0 10px 0;
      font-size: 11px;
      text-align: center;
      color: #888;
    }
    .chat-item {
      display: flex;
      margin-top: 10px;
      .avatar {
        width: 40px;
        height: 40px;
        border-radius: 3px;
        overflow: hidden;
        img {
          width: 100%;
          height: 100%;
          object-fit: cover;
        }
      }
      .msg-content {
        margin-left: 10px;
        .user-name {
          text-align: left;
          font-size: 11px;
          margin-bottom: 2px;
          color: #888;
        }
        .msg-img {
          width: 150px;
          max-height: 300px;
          img {
            width: 100%;
            height: 100%;
            object-fit: contain;
          }
        }
        .msg-txt {
          position: relative;
          padding: 5px 8px;
          background: #fff;
          border-radius: 4px;
          max-width: 248px;
          color: #202020;
          text-align: left;
          &::after {
            content: "";
            position: absolute;
            top: 14px;
            left: -4px;
            transform: rotate(45deg);
            width: 8px;
            height: 8px;
            border-radius: 2px;
            background: #fff;
          }
        }
      }
    }
  }
  
}

.wx {

}
.e-home {
  background: #fff;
  .chat-content {
    .chat-list {
      .chat-item {
        .avatar {
          width: 36px;
          height: 36px;
        }
        .msg-content {
          .user-name {
            font-size: 14px;
          }
          .msg-txt {
            background: #EDF1F4;
            padding: 7px 12px;
            border-top-left-radius: 0;
            color: #313131;
            &::after {
              display: none;
            }
          }
          .msg-img {
            max-width: 300px;
            max-height: 300px;
            border: 1px solid #ccc;
            border-radius: 6px;
            border-top-left-radius: 0;
          }
        }
      }
    }
  }
}

.chat-handler {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  padding: 12px;
  background: transparent;
  box-shadow: 0 3px 4px 1px rgb(116, 116, 116);
}

.base-info-control {
}
.form {
  box-shadow: 0 0 5px 0 #b1b0b0;
  padding: 10px;
  .form-item {
    display: flex;
    margin-bottom: 10px;
  }
}
.close {
  height: 0;
  display: none;
  overflow: hidden;
}
.title {
  font-size: 16px;
  cursor: pointer;
  transition: all 0.1s ease;
  &:hover {
    background: #b6dff3;
  }
}
.msg-control {
  margin-top: 12px;
  
  .form {

  }
  
  .form-item {
    display: flex;
    .file {
      display: none;
    }
    
    .file-name {

    }
    img {
      width: 30px;
      height: 30px;
      object-fit: cover;
    }
  }
}

::-webkit-scrollbar {
  width: 0px;      /* 滚动条宽度设为0 */
  background: transparent; /* 背景色透明 */
}

.hidden {
  display: none;
}
.msg-box {
  margin-top: 12px;
}
.paste-content {
  width: 60px;
  height: 30px;
  border: 1px solid rgb(117, 241, 250);
  font-size: 12px;
  line-height: 30px;
  outline: none;
  overflow: hidden;
  * {
    display: none;
  }
}